Fix build with enabled CLICKMAP.
authoroliskoli <oliskoli@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 7 Jan 2007 21:24:10 +0000 (21:24 +0000)
committeroliskoli <oliskoli@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 7 Jan 2007 21:24:10 +0000 (21:24 +0000)
gpsbabel/tiger.c

index 364e548a0bee9b7806051dc271c927cc5afc9a78..4b0ae83853d0d5b5985ef7004f46197868962126 100644 (file)
@@ -53,7 +53,7 @@ static double thresh_days;
  *   the projection transformations.   Some trig geek can finish that.
  */
 #if CLICKMAP
-static FILE *linkf;
+static gbfile *linkf;
 static char *clickmap = NULL;
 #endif
 
@@ -259,7 +259,7 @@ data_write(void)
                gbfclose(urlf);
 #if CLICKMAP
                if (clickmap) {
-                       linkf = gbfopen(clickmap, "w", MY NAME);
+                       linkf = gbfopen(clickmap, "w", MYNAME);
                        gbfprintf(linkf, "<map name=\"map\">\n");
                        waypt_disp_all(map_plot);
                        gbfprintf(linkf, "</map>\n");